package com.itheima.reggie.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class OrderDto {
    private Long id;
    //下单时间
    private LocalDateTime orderTime;
    //订单状态 1待付款，2待派送，3已派送，4已完成，5已取消
    private Integer status;
    List<OrderDetail> orderDetails;
    //实收金额
    private BigDecimal amount;
    Integer sumNum;
    Long userId;
}
